package cn.dong.statistics.feign;

import cn.dong.api.domain.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter8160")
@Service
public interface MemberSerivce {




    /**
     * 获取今天的用户注册数量
     * @param day
     * @return
     */
    @GetMapping("/ucenter/member/getRegisterCountByDay/{day}")
    CommonResult getRegisterCountByDay(@PathVariable("day") String day);

    /**
     * 获取今天的用户登录数量
     * @param day
     * @return
     */
    @GetMapping("/ucenter/member/getLoginCountByDay/{day}")
    CommonResult getLoginCountByDay(@PathVariable("day") String day);
}
